import { Action } from '@ngrx/store';
export function equipmentReducer(state: String = "hello world", action:Action) {
    console.log(action.type,state)
    switch(action.type) {
        case 'SPANISH':
            return state = "hola Mundo"
        case 'ENGLISH':
            return state = "Bonjour le monde"
        default:
            return state;
    }

}
